/*
    @author:sa
    @date:2024/11/13 16:26
*/
public class MethodParam {
    public static void main(String[] args) {
        int a = 1;
        add(a);
        System.out.println("main:" + a);
    }

    public static void add(int a) {
        a++;
        System.out.println("add:" + a);
    }
}